﻿@using Kovan.Model.Entity.Config;
@{
    var item = Model as tb_picgroup;
}
<div class="pageContent">
    <form method="post" action="@Url.Content("~/Manage/PicGroup/SavePicGroup")" class="pageForm required-validate"
    onsubmit="return PicGroupManage.SavePicGroup(this, PicGroupManage.dialogAjaxDone);">
    <div class="pageFormContent" layouth="56">
        <p>
            <label>
                相册名称：</label>
            <input type="text" name="name" size="30" value="@item.name" />
            <input type="hidden" name="picgroup_id" value="@item.picgroup_id" />
            @*<input type="hidden" name="application_id" value="@item.application_id" />*@
        </p>
        @*<p>
            <label>
                关键词：</label>
            <input type="text" name="url" size="30"  value="@item.keyword" />
        </p>*@
        <p>
            <label>
                排序：</label>
            <input type="text" name="img_path" size="30"  value="@item.sort_order" />
        </p>
        <p>
            <label>
                首页可见：</label>
            <input type="checkbox" name="is_index" @(item.is_index == 1 ? "checked" : "") value="1" />
        </p>
        <p>
            <label>
                可见：</label>
            <input type="checkbox" name="is_view" @(item.is_view == 1 ? "checked" : "") value="1" />
        </p>
        <dl class="nowrap" style="width: 98%">
            <dt>描述：</dt>
            <dd>
                <textarea name="description" cols="77" rows="5">@item.description</textarea></dd>
        </dl>
    </div>
    <div class="formBar">
        <ul>
            <!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
            <li>
                <div class="buttonActive">
                    <div class="buttonContent">
                        <button type="submit">
                            保存</button></div>
                </div>
            </li>
            <li>
                <div class="button">
                    <div class="buttonContent">
                        <button type="button" class="close">
                            取消</button></div>
                </div>
            </li>
        </ul>
    </div>
    </form>
</div>
